package de.tum.in.eist.poll.client;

import java.util.Date;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import de.tum.in.eist.poll.shared.Lecturer;
import de.tum.in.eist.poll.shared.Statistic;
import de.tum.in.eist.poll.shared.Student;
import de.tum.in.eist.poll.shared.User;
import de.tum.in.eist.poll.shared.exceptions.InvalidAdminLoginException;
import de.tum.in.eist.poll.shared.exceptions.PollNotFoundException;
import de.tum.in.eist.poll.shared.exceptions.UserNotFoundException;

@RemoteServiceRelativePath("stat")
public interface StatService extends RemoteService{
	public Statistic getStatistic(User usr, Date pollDate) throws PollNotFoundException, InvalidAdminLoginException;
}
